
import 'pos_link_platform_interface.dart';

class PosLink {
  Future<String?> getPlatformVersion() {
    return PosLinkPlatform.instance.getPlatformVersion();
  }

  /*
    获取权限
   */
  Future<bool> permissionAllowed() async{
    return PosLinkPlatform.instance.permissionAllowed();
  }

  Future<void> configureFlutterEngine() async{
    await PosLinkPlatform.instance.configureFlutterEngine();
  }

}
